package com.example.websocket.websocket;

import org.java_websocket.*;
import org.java_websocket.drafts.Draft;
import org.java_websocket.drafts.Draft_6455;
import org.java_websocket.server.CustomSSLWebSocketServerFactory;
import org.java_websocket.server.WebSocketServer;
import org.springframework.beans.factory.annotation.Autowired;

public class WebSocketDemo {

    private WebSocket webSocket;

    public static void main(String[] args) {
        int port = 8887;
        WsServer s = new WsServer(port);
        s.start();
    }
}
